package com.kvn.btrace._01demo;

/**
 * @author wzy
 * @date 2017年9月19日 下午4:29:17
 */
public class MainTest {

	public static void main(String[] args) throws Exception {
		while (true) {
			bar();
			foo();
		}
	}

	private static void bar() throws InterruptedException {
		System.out.println("call bar");
		Thread.sleep(5000);
	}

	private static void foo() throws InterruptedException {
		System.out.println("call foo");
		Thread.sleep(1000);
	}

}
